package de.dubiel.plung.client.events;

import com.google.gwt.event.shared.GwtEvent;

public class UserDataSavedEvent extends GwtEvent<UserDataSavedHandler> {

    public static Type<UserDataSavedHandler> TYPE = new Type<UserDataSavedHandler>();

    public UserDataSavedEvent() {
    }

    @Override
    public Type<UserDataSavedHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(UserDataSavedHandler handler) {
        handler.onUserDataSaved(this);
    }
}